﻿@inherits UmbracoTemplatePage
@{
    Layout = null;
    IPublishedContent root = Model.Content.AncestorOrSelf("homepage");
}

<!DOCTYPE html>
<html>
<head>
    <meta charset='utf-8'>
    <meta content='IE=edge' http-equiv='X-UA-Compatible'>
    <title>@root.GetPropertyValue("seoPrefix") - @(Model.Content.HasValue("seoTitle") ? Model.Content.GetPropertyValue("seoTitle") : root.GetPropertyValue("seoTitle"))</title>
    <meta name="keywords" content="@root.GetPropertyValue("seoPrefix") - @(Model.Content.HasValue("seoKeyword") ? Model.Content.GetPropertyValue("seoKeyword") : root.GetPropertyValue("seoKeyword"))" />
    <meta name="description" content="@root.GetPropertyValue("seoPrefix") - @(Model.Content.HasValue("seoDescription") ? Model.Content.GetPropertyValue("seoDescription") : root.GetPropertyValue("seoDescription"))" />
    <link href="/Statics/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="/assets/css/common.min.css" />
    <link rel="icon" type="image/png" href="/assets/images/favicon.png">
</head>
<body>

    @Html.Partial("RenderHeader", root)
    @RenderBody()
    @Html.Partial("RenderFooter", root)

    <script src="/Statics/jquery/3.2.1/jquery.min.js"></script>
    <script src="/Statics/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.sticky/1.0.4/jquery.sticky.min.js"></script>

    @RenderSection("BodyScriptLib", false)

    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
        ga('create', 'UA-106005084-1', 'auto');
        ga('send', 'pageview');
    </script>

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?5e69437be2426abe6e7293c2a8976adf";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

    <script src="/assets/js/common.min.js"></script>
</body>
</html>